package com.xydtech.ecard.merchant.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 营销人员拜访次数排名
 *
 * @author yuzhiguo
 * @date 2024-05-25 下午2:00
 */
public class EcardBranchUserVisit  extends BaseEntity {

    /**
     * 建档排名
     */
    @Excel(name = "拜访排名")
    private Long rank;

    /**
     * 客户经理id
     */
    private Long userId;

    /**
     * 客户经理
     */
    @Excel(name = "客户经理")
    private String userName;

    /**
     * 机构Id
     */
    private Long deptId;

    /**
     * 机构Id（小程序传参查询用的deptId）
     */
    private Long appQueryDeptId;

    /**
     * 机构名称
     */
    @Excel(name = "机构名称")
    private String deptName;

    /**
     * 拜访次数
     */
    @Excel(name = "拜访次数")
    private Long visitNum;

    /**
     * 上月新增
     */
    @Excel(name = "上月新增")
    private Long visitLastMouthNum;

    /**
     * 本月新增
     */
    @Excel(name = "本月新增")
    private Long visitThisMouthNum;

    /**
     * 较上月对比
     */
    @Excel(name = "较上月对比")
    private Long visitCompareNum;

    /**
     * 是否只查业务条线（支行和分理处，不含总行各部室），0：是，1：否
     */
    private String isServiceLine;

    /**
     * 个人客户类型，1：农户，2：新市民
     */
    private String perType;

    public Long getRank() {
        return rank;
    }

    public void setRank(Long rank) {
        this.rank = rank;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getAppQueryDeptId() {
        return appQueryDeptId;
    }

    public void setAppQueryDeptId(Long appQueryDeptId) {
        this.appQueryDeptId = appQueryDeptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getVisitNum() {
        return visitNum;
    }

    public void setVisitNum(Long visitNum) {
        this.visitNum = visitNum;
    }

    public Long getVisitLastMouthNum() {
        return visitLastMouthNum;
    }

    public void setVisitLastMouthNum(Long visitLastMouthNum) {
        this.visitLastMouthNum = visitLastMouthNum;
    }

    public Long getVisitThisMouthNum() {
        return visitThisMouthNum;
    }

    public void setVisitThisMouthNum(Long visitThisMouthNum) {
        this.visitThisMouthNum = visitThisMouthNum;
    }

    public Long getVisitCompareNum() {
        return visitCompareNum;
    }

    public void setVisitCompareNum(Long visitCompareNum) {
        this.visitCompareNum = visitCompareNum;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getIsServiceLine() {
        return isServiceLine;
    }

    public void setIsServiceLine(String isServiceLine) {
        this.isServiceLine = isServiceLine;
    }

    public String getPerType() {
        return perType;
    }

    public void setPerType(String perType) {
        this.perType = perType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("rank", getRank())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("deptId", getDeptId())
                .append("appQueryDeptId", getAppQueryDeptId())
                .append("deptName", getDeptName())
                .append("visitNum", getVisitNum())
                .append("visitLastMonthNum", getVisitLastMouthNum())
                .append("visitThisMonthNum", getVisitThisMouthNum())
                .append("visitCompareNum", getVisitCompareNum())
                .append("isServiceLine", getIsServiceLine())
                .append("perType", getPerType())
                .toString();
    }
}
